package com.cy.bfzcommons.service;



import com.cy.bfzcommons.pojo.AdminPassword;
import com.cy.bfzcommons.pojo.Administrator;

import java.util.List;
import java.util.Set;

public interface AdministratorService {


     String saveAdmin(Administrator administrator);


    void updateAdmin(Administrator administrator);

    List<Administrator> findAdmin(String username);

    String updatePassword(AdminPassword adminPassword);

    Administrator selectById(Integer administratorId);

    String loginAdministrator(String userName,String password);

    Administrator selectUsername(String userName);

    List<Object> selectName();

    Set<String> SelectPermission(Integer administratorId);

    // Administrator selectByName(String username);
}
